package com.yanqu.road.entity.recharge;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_u_recharge_mall_times")
public class RechargeMallTimes extends DataObject {

	@FieldTypeAnnotation(select = true, update = true, desc = "玩家")
	private long userId;
	@FieldTypeAnnotation(update = true, desc = "购买项")
	private int mallId;
	@FieldTypeAnnotation(desc = "充值来源")
	private int src;
	@FieldTypeAnnotation(desc = "充值次数")
	private int times;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if (this.userId != userId) {
			this.userId = userId;
			setUpdateOption();
		}
	}

	public int getMallId() {
		return mallId;
	}

	public void setMallId(int mallId) {
		if(this.mallId != mallId) {
			this.mallId = mallId;
			setUpdateOption();
		}
	}

	public int getSrc() {
		return src;
	}

	public void setSrc(int src) {
		if(this.src != src) {
			this.src = src;
			setUpdateOption();
		}
	}

	public int getTimes() {
		return times;
	}

	public void setTimes(int times) {
		if(this.times != times) {
			this.times = times;
			setUpdateOption();
		}
	}
}
